#define _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"
void test()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);

	for (int i = 0; i < 5; i++)
	{
		printf("%d ", QueueFront(&q));
		printf("%d \n", QueueBack(&q));
		QueuePop(&q);
	}
	printf("%d \n", QueueSize(&q));
	printf("%d \n", QueueEmpty(&q));

	QueueDestroy(&q);
}
int main()
{
	test();
	return 0;
}